Install API Gateway Kong (https://getkong.org/) need to install Openresty and PostgreSQL First, here on my installation of the problems encountered and solutions to record, for your reference.
Openresty installation is very smooth, here simply paste:
Yum install-y pcre-devel openssl-devel gcc curl zlib zlib-devel
./configure--with-pcre-jit--with-ipv6--with-http_ Realip_module--with-http_ssl_module--with-h
Prior to entering the Kong-ui, the address of the Kong service needs to be configured by default for the first loginGo to the API menu and click on the + signFill in the relevant information as requiredBy doing so, you can use suchHttps://your.domain.com:20802/CommonOpenAPI/HMAC_SHA1EncodeRequest? Text=x-date%3a%20wed%2c%2001%20mar%202017%2005%3a05%3a24%20gmtsecr
Now we'll turn to the client side, and add a page that can consume data from the Admin controller. the page will allow users to create, edit, or delete products, by sending AJAX requests to the controller.
Now we are transferring to the client and adding a page that can use data from the Admin controller. By sending an AJAX request to the Controller, this page allows users to create, edit, or delete product
Now we'll turn to the client side, and add a page that can consume data from the Admin controller. the page will allow users to create, edit, or delete products, by sending AJAX requests to the controller.Now we are transferring to the client and adding a page that can use data from the Admin controller. By sending an AJAX request to the Controller, this page allows users to create, edit, or delete products
. Because if someone modifies the model class, data will be lost.Next, open Global. asax and add the following code to the Application_Start method:Next, open Global. asax and add the following code to the Application_Start method:Copy codeThe Code is as follows:System. Data. Entity. Database. SetInitializer (New ProductStore. Models. OrdersContextInitializer (); Send a Request to the Controller Send request to ControllerAt this point, we haven't written any client code, but you can invoke the w
officially runs-the Translator's note. Because if someone modifies the model class, data will be lost.Next, open Global. asax and add the following code to the Application_Start method:Next, open Global. asax and add the following code to the Application_Start method:Copy codeThe Code is as follows: System. Data. Entity. Database. SetInitializer (New ProductStore. Models. OrdersContextInitializer (); Send a Request to the Controller
Send request to ControllerAt this point, we haven't written an
Post-installation Access default addressConfiguration sitehttps://wap-priv:30101/Administration sitehttps://wap-priv:30091/Tenant sitehttps://wap-publ:30081/WAP installation requires a domain environment and database support, configuring the virtual machine cloud requires SCVMM, and configuring the Web site cloud requires WAP websites.Here is a brief overview of the installationDownload and install the Web Platform Installer 5.01. Virtual machine wap-priv Install
return {code:403, Message:forbidden} When using the admin Ops API to get user list Get/admin/user by official documents Here are two questions: the first user list request is as follows: Get/admin/metadata/usersecond, you need to configure the metadata read permissions for the administrative user: Radosgw-
browser will open the URL http://localhost:portnum/, here, Portnum is a port number.
Send an HTTP request to "Http://localhost:portnum/api/admin". The I request may is slow to complete, because entify Entity Framework needs to create and seed the database. The response should something similar to the following:
Send an HTTP request to "Http://localhost:portnum/api
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.